package com.mdh.runerrands.service;

import com.mdh.runerrands.pojo.Category;

import java.util.List;

public interface ICategoryService {
    boolean batchDelete(int ...ids);
    boolean deleteById(int id);
    List<Category> query(int page,int pageSize,String name ,String num);
    int selectCount(String name,String num);
    boolean insert(Category category);
    boolean update(Category category);
    List<Category> findAll();

}
